<%@page pageEncoding="UTF-8" %>
<%@taglib uri="http://wasf.cb.com/tag" prefix="wasf" %>
<wasf:useTemplate name="template/standard.jsp" title="Mon panier">
    <wasf:defineFragment name="body">
        <wasf:form id="cartForm">
            <p>Your cart</p>
            <table style="border: 0px">
                <tr>
                    <th style="text-align: left">Pineapple</th>
                    <td>${state.pineappleCount}</td>
                    <td><wasf:submitButton id="oneMorePineapple" event="oneMorePineapple" caption="One more"/></td>
                    <td><wasf:submitLink event="oneMorePineapple">One more</wasf:submitLink></td>
                </tr>
                <tr>
                    <th style="text-align: left">Tomato</th>
                    <td>${state.tomatoCount}</td>
                    <td><wasf:submitButton id="oneMoreTomato" event="oneMoreTomato" caption="One more"/></td>
                    <td><wasf:submitLink event="oneMoreTomato">One more</wasf:submitLink></td>
                </tr>
            </table>
        </wasf:form>
    </wasf:defineFragment>
</wasf:useTemplate>